﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>登录页面</title>
</head>
<!--<link rel="stylesheet" type="text/css" href="css/login.css"/>-->
<script type="text/javascript" src="js/login.js"></script>
<body>
<header>
    <div class="logo">
        <img src="img/login_logo.png">
    </div>
    <div><a href="" class="help">帮助</a></div>
</header>

<main>
    <form id="login_form" action="login" method="post">
        <div class="login_box">
        <div class="login-head">
            <div class="login-title">登录</div>
            <div class="icon"></div>
        </div>
        <div class="login-content">
            <div id="tip">
                <br>
                <div class="user-login">用户登录</div>
            </div>
            <div>
                <input type="text" name="username" placeholder="用户名"  id="username">
            </div>
            <div>
                <input type="password" name="password" placeholder="密码" id="password">
            </div>
            <div>
                <div class="choose">学生选择@stu.swpu.edu.cn</div>
                <div><a href="" class="forget">忘记密码</a></div>
            </div>
            <div>
                <input type="submit" name="submit" value="登录" class="login" >
            </div>
        </div>
        </div>
    </form>
</main>
<footer>
    <div class="foot">西南石油大学</div>

</footer>
<style>
    header{
        height: 80px;
        width: 100%;
        background-color: #F5F5F5;
    }
    .logo{
        margin-left: 200px;
        margin-top: 15px;
        float: left;
    }
    .help{
        text-align: center;
        font-size: 14px;
        height: 20px;
        width: 30px;
        margin-top: 35px;
        margin-right: 200px;
        float: right;
        font-weight: bolder;
        color: gray;
        text-decoration: none;
    }
    main{
        height: 340px;
        width: 840px;
        margin-left: 200px;
        margin-top: 50px;
        padding: 60px;
        background-image: url("img/login_bg_05.jpg");
    }
    .login_box{
        height: 300px;
        width: 350px;
        background-color: #fff;
        float: right;
    }
    .login-head{
        height: 40px;
        width: 350px;
        display: flex;
        justify-content: flex-end;
        background-color: #e08527;
    }
    .login-title{
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        line-height: 40px;
        text-align: center;
        color: #fff;
    }
    .icon{
        height: 40px;
        width: 20px;
        background-color: black;
        background-image: url('img/dragbar.png');
    }
    .login-content{
        background-color: #fff;
        padding: 30px;
    }
    .user-login{
        text-align: left;
        font-weight: bolder;
        margin-top: -30px;
    }
    #username{
        height: 40px;
        width: 290px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #password{
        height: 40px;
        width: 290px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .choose{
        height: 30px;
        width: 220px;
        font-size: 13px;
        color: red;
        line-height: 30px;
        float: left;
    }
    .forget{
        height: 30px;
        width: 60px;
        line-height: 30px;
        font-size: 13px;
        text-decoration: none;
        color: gray;
        font-weight: bolder;
        float: right;
    }
    .login{
        height: 40px;
        width: 150px;
        background-color: #4e92d9;
        border-radius: 4px;
        float: right;
        color: #fff;
    }
    .foot{
        text-align: center;
        margin-top: 20px;
        color: gray;
        font-size: 12px;
    }
</style>
</body>
</html>